//
//  SEGActivityLotteryUsersSortModel.m
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/8/15.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import "SEGActivityLotteryUsersSortModel.h"

@implementation SEGActivityLotteryUsersSortModel

- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        _userPic = @"";
        _nickName = @"";
        _userId = @"";
        _prizeName = @"";
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
- (void)setUserPic:(NSString*)userPic{
    _userPic = [[SEGUtils ValueToString:userPic]copy];
}
- (void)setNickName:(NSString*)nickName{
    _nickName = [[SEGUtils ValueToString:nickName]copy];
}
- (void)setUserId:(NSString*)userId{
    _userId = [[SEGUtils ValueToString:userId]copy];
}
- (void)setPrizeName:(NSString*)prizeName{
    _prizeName = [[SEGUtils ValueToString:prizeName]copy];
}

@end
